package com.ebring.shareEducation.service.admin;


import com.ebring.shareEducation.utils.RspMsg;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = "PAYROLL-REGISTERLOGIN", fallbackFactory = InstitutionClientServiceFallbackFactory.class)
public interface InstitutionClientService {

    /**
     * 查询下级机构
     */
    @RequestMapping(value = "/institution/getLower", method = RequestMethod.POST)
    RspMsg<Map> getLower(@RequestParam(name = "institutionId") String institutionId);


}
